<% layout("/common/layout.html",{"title":"食药申请详情"}){ %>
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-sm-8">
		<h2>食药注销列表</h2>
		<ol class="breadcrumb">
			<li><a href="${ctxPath}/admin/main">主页</a></li>
			<li><a href="../view/index">食药注销列表</a></li>
			<li class="active">详情</li>
		</ol>
	</div>
	<div class="col-sm-4">
		<div class="title-action">
			<a class="btn btn-primary btn-sm btn-outline" href="index"><i
				class="fa fa-reply"> </i> 返回列表</a>
		</div>
	</div>
</div>

<div class="wrapper wrapper-content">
<div class="tabs-container" id="tabs-container">
		<ul class="nav nav-tabs">
			<li class="active"><a data-toggle="tab" href="#tab-1"
				aria-expanded="true"> 基本信息</a></li>
			<li class=""><a data-toggle="tab" href="#tab-2"
				aria-expanded="false">审批信息</a></li>
		</ul>
		<div class="tab-content">
			<div id="tab-1" class="tab-pane active">
				<div class="panel-body">
			<form class="form-horizontal" id="companyIndexForm" method="post"
				role="form">

				<div class="form-group">
					<label for="companyName" class="control-label-info pull-left">企业名称：</label>
					<div class="col-sm-10">
						<div class="input-group col-sm-4">
							<input id="companyName" name="companyName" class="form-control"
								type="text" value="${companyName}" disabled>
						</div>
					</div>
				</div>
				
				<div class="form-group">
					<label for="companyName" class="control-label-info pull-left">注销原因：</label>
					<div class="col-sm-10">
						<div class="input-group col-sm-4">
								<textarea id="cancelReason" name="cancelReason" class="form-control"
								rows="5" disabled>${cancelReason}</textarea>
						</div>
					</div>
				</div>
		</form>
	  </div>
	 </div>
	 
	 	<div id="tab-2" class="tab-pane">
				<div class="panel-body table-responsive">
					<table class="table table-hover table-bordered">
						<thead>
							<tr>
								<th width="15%">审批时间</th>
								<th width="15%">审批人</th>
								<th width="10%">状态</th>
								<th width="60%">消息</th>
							</tr>
						</thead>
						<tbody>
							<% if(isNotEmpty(flowProcessList)){ for(process in
							flowProcessList){ %>
							<tr>
								<td class="text text-center">${process.updateTime,"yyyy-MM-dd HH:mm:ss"}</td>
								<td>${process.auditorNickName!'-'}</td>
								<td>${webUtil.companyItemStatus(process.auditStatus!0)}</td>
								<td>${process.message}</td>
							</tr>
							<% } }else{ %>
							<tr>
								<td colspan="4" class="text-center text-muted">暂无数据</td>
							</tr>
							<% } %>
						</tbody>
					</table>
				</div>
			</div>

	 
	 
</div>
<% } %>
<script type="text/javascript">
	//页面JS调用
	require([ 'fooddrug/apply' ], function(apply) {
		apply.view();
	});
</script>
